#!/bin/sh

export QUILT_REFRESH_ARGS="--no-timestamps --no-index"
#export QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"
export QUILT_DIFF_OPTS="-p"

quilt pop -a --quiltrc=/dev/null

cd patches
ls *.diff > series
cd ..

while quilt push --quiltrc=/dev/null; do quilt refresh --quiltrc=/dev/null; done
